package com.cloud.workmanagerdemo

import android.content.Context
import android.util.Log
import androidx.work.Worker
import androidx.work.WorkerParameters

/**
 * @auth: njb
 * @date: 2024/11/26 23:34
 * @desc: 周期性任务
 */
class PeriodicWork(context: Context, workerParams: WorkerParameters) :
    Worker(context, workerParams) {

    override fun doWork(): Result {
        Log.e(Constants.TAG,"周期性任务 执行完毕")
        return Result.success()
    }
}
